package com.project.poetry.service.entity.po.notes;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author mengxj
 */
@Data
@TableName("t_notes")
public class NotesPO {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("作品id")
    private Long poetryId;

    @ApiModelProperty("注释的关键字")
    private String keyWord;

    @ApiModelProperty("注释内容")
    private String content;

    @ApiModelProperty("是否是典故")
    private Integer isAllusion;
}
